﻿//
// GNS_ApplyTick.h
// MobileManageSys
//FuncTion 申请兑奖
// Created by mr.l on 16/1/14.
//
//

#ifndef __MobileManageSys__GNS_ApplyTick__
#define __MobileManageSys__GNS_ApplyTick__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "GNS_Common.h"
#include "GNS_Handler.h"

US_NS_CUSTOM_UI;
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;

class GNS_ApplyTick : public Layer
{
public:
    GNS_ApplyTick();
    ~GNS_ApplyTick();
    static GNS_ApplyTick* createLayer();
    Scene * createScene();
    virtual bool init();
    CREATE_FUNC(GNS_ApplyTick);
    void BtnCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void SetNodeName(std::string CsbName);
    void SenDetection();
private:
    //void textFieldEvent(Ref * pSender , ui::TextField::EventType type);
	void textFieldEditEnd();
	void OnUIAction(std::string Text,bool isUTF);
private:
    Node * pGNS_ApplyTick;
    TextField * TopID; //充值对象
//    Text * NoteTheName; // 备注名
    TextField * TopUplines; // 充值额度
    Text * RLines;//R 值额度

	 CustomEditBox* _TopID; //
	CustomEditBox * _TopUplines; // 充值额度

    TextField * NoteManage;//备注信息
    PopWndLayer * pPopWnd;
};

#endif /* defined(__MobileManageSys__GNS_ApplyTick__) */